﻿using System;
using MedicalAssistant.core.dao;

namespace MedicalAssistant.core.dao.binary
{
    class BinDAOFactory : DAOFactory
    {
        private static BinDAOFactory dao = null;
        private static string path = ".";

        private BinDAOFactory()
        {
            
        }

        public static BinDAOFactory GetInstance()
        {
            if (dao == null)
            {
                dao = new BinDAOFactory();
            }
            return dao;
        }

        public PacienteDAO GetPacienteDao()
        {
            return BinPacienteDAO.GetInstance();
        }
    }
}